package com.wy.model;

/**
 * 新建文件时可能会需要使用的属性
 * 
 * @auther 飞花梦影
 * @date 2021-07-19 20:53:51
 * @git {@link https://github.com/dreamFlyingFlower}
 */
public class TemplateModel {

	/**
	 * 容器名
	 */
	private String containerName;

	/**
	 * 项目名
	 */
	private String projectName;

	/**
	 * 包名
	 */
	private String packageName;

	/**
	 * 最终新建的文件名
	 */
	private String fileName;

	/**
	 * URI地址
	 */
	private String urlPattern;

	/**
	 * 是否添加日志
	 */
	private boolean applLog;

	/**
	 * 日志类
	 */
	private String applLogClass;

	/**
	 * 日志包名
	 */
	private String applLogPackage;

	/**
	 * 程序id
	 */
	private String programId;

	/**
	 * 是否使用异常
	 */
	private boolean useException;

	/**
	 * 异常类
	 */
	private String exceptionClass;

	/**
	 * 异常包
	 */
	private String exceptionPackage;

	/**
	 * 是否添加其他jar包
	 */
	private boolean addJars;

	/**
	 * 是否添加Servlet
	 */
	private boolean addServlet;

	public String getContainerName() {
		return containerName;
	}

	public void setContainerName(String containerName) {
		this.containerName = containerName;
	}

	public String getProjectName() {
		return projectName;
	}

	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}

	public String getPackageName() {
		return packageName;
	}

	public void setPackageName(String packageName) {
		this.packageName = packageName;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getUrlPattern() {
		return urlPattern;
	}

	public void setUrlPattern(String urlPattern) {
		this.urlPattern = urlPattern;
	}

	public boolean isApplLog() {
		return applLog;
	}

	public void setApplLog(boolean applLog) {
		this.applLog = applLog;
	}

	public String getApplLogClass() {
		return applLogClass;
	}

	public void setApplLogClass(String applLogClass) {
		this.applLogClass = applLogClass;
	}

	public String getApplLogPackage() {
		return applLogPackage;
	}

	public void setApplLogPackage(String applLogPackage) {
		this.applLogPackage = applLogPackage;
	}

	public String getProgramId() {
		return programId;
	}

	public void setProgramId(String programId) {
		this.programId = programId;
	}

	public boolean isUseException() {
		return useException;
	}

	public void setUseException(boolean useException) {
		this.useException = useException;
	}

	public String getExceptionClass() {
		return exceptionClass;
	}

	public void setExceptionClass(String exceptionClass) {
		this.exceptionClass = exceptionClass;
	}

	public String getExceptionPackage() {
		return exceptionPackage;
	}

	public void setExceptionPackage(String exceptionPackage) {
		this.exceptionPackage = exceptionPackage;
	}

	public boolean isAddJars() {
		return addJars;
	}

	public void setAddJars(boolean addJars) {
		this.addJars = addJars;
	}

	public boolean isAddServlet() {
		return addServlet;
	}

	public void setAddServlet(boolean addServlet) {
		this.addServlet = addServlet;
	}
}